The base class of any Diamant ORM DAO that encapsulates a parameterless program hosted and executed by SQL Server data stores.
Statements that activates the parameterless program are written in traditional ADO.NET code.
Top
Top
Top
The following tables list the members exposed by the CodeFirstSqlProgramDao<TProgramResult> type.
Name | Description | |
---|---|---|
Carbonite | Gets the carbonite controller that hosts the current DAO and offers data store context to it. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). |
Name | Description | |
---|---|---|
Equals | (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetType | (Overloaded) Gets the Type of the current instance. (inherited from Object). | |
Initialize | Initializes the current DAO with the specified host carbonite controller as its data store context provider. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
OnBuildResult | Handles the request to create a TProgramResult based on the program result set and output parameters. This method is always called after OnPrebuildResult(TDataCommand,TDataReader). (inherited from DiamantDataContextProgramDao<TProgramResult, TDataContext, TDataCommand, TDataReader>). | |
OnConfigureCommand | Handles the request to configure program data command suitable for the underlying relational data store. (inherited from DiamantDataContextProgramDao<TProgramResult, TDataContext, TDataCommand, TDataReader>). | |
OnInitialize | Handles the request to initialize the current DAO. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
OnPostbuildResult | Handles the request to prebuild the program result by performing any prebuild action. This method is always called after OnPostconfigureCommand(TDataCommand). (inherited from DiamantDataContextProgramDao<TProgramResult, TDataContext, TDataCommand, TDataReader>). | |
OnPostconfigureCommand |
Handles the request to postconfigure a data command suitable for the underlying relational data store.
This method is always called after every OnConfigureXxxCommand .
(inherited from DiamantDataContextProgramDao<TProgramResult, TDataContext, TDataCommand, TDataReader>).
|
|
OnPrebuildResult | Handles the request to prebuild the program result, potentially by altering the command output parameter naming convention or performing any other prebuild action. This method is always called after OnPostconfigureCommand(TDataCommand). (inherited from DiamantDataContextProgramDao<TProgramResult, TDataContext, TDataCommand, TDataReader>). | |
OnPreconfigureCommand |
Handles the request to preconfigure a data command suitable for the underlying relational data store.
This method is always called before any OnConfigureXxxCommand .
(inherited from DiamantDataContextProgramDao<TProgramResult, TDataContext, TDataCommand, TDataReader>).
|
|
OnRunProgram | By obtaining a data command via OnConfigureCommand(TDataCommand) and then running that command, this inversion control method handles the request to run the program into the underlying relational data store. (inherited from DiamantDataContextProgramDao<TProgramResult, TDataContext, TDataCommand, TDataReader>). | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object). | |
RunProgram | Routes a program run request to the underlying data store. (inherited from DataContextProgramDao<TProgramResult, TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>). | |
ToString | Returns a string that represents the current object. (inherited from Object). |
Name | Description | |
---|---|---|
FromNullable | Converts object values to nullable relational data store values. (Defined by Object_ToNullable). | |
GetAttribute | Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttribute<TAtribute> | (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes). | |
GetAttributes | Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
GetAttributes<TAtribute> | (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes). | |
ToNullable<T> | Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable). |